﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shake.Framework.Infrastructure
{
    public interface IScheduleTask
    {
        /// <summary>
        /// 调度任务名称
        /// </summary>
        string Name { get; }

        /// <summary>
        /// 默认间隔执行，如果不需要间隔执行，则设置为0,单位为秒
        /// </summary>
        int DefaultInterval { get; }
    }
}
